-
Notifications
You must be signed in to change notification settings - Fork 209
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DOCUMENTATION: Proccessings Proofing #287
DOCUMENTATION: Proccessings Proofing #287
Conversation
@@ -12,7 +12,7 @@ Here's an example of what a Processing service function would look like: | |||
public ValueTask<Student> UpsertStudentAsync(Student student) => | |||
TryCatch(async () => | |||
{ | |||
ValidateStudent(student); | |||
ValidateStudentOnUpert(student); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OnUpsert
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good eyes!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
@@ -21,7 +21,7 @@ TryCatch(async () => | |||
retrievedStudent.Id == student.Id); | |||
|
|||
return studentExists switch { | |||
false => await this.studentService.RegisterStudentAsync(student), | |||
false => await this.studentService.AddStudentAsync(student), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should stay as RegisterStudentAsync
the idea here is that the language is more business specific than technical at the Processing
layer.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
Closes: #286